import Vue from  'vue';
import VueRouter from 'vue-router';
Vue.use(VueRouter);

export default  new VueRouter({
  // mode:'history', //默认是hash模式
  routes:[
    {path :'/',component:()=>import('../components/Home.vue'),meta:{title:'投保'}},
    {path :'/submit',component:()=>import('../components/Submit.vue'),name:'submit',meta:{title:'投保'}},
    {path :'/order',component:()=>import('../components/Order.vue'),name:'order',meta:{title:'支付收银台'}}
  ]
})

